import "ant-design-vue/dist/reset.css";
import "@/assets/style/index.less";
import "@/framework/util/polyfill.ts";
import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "./app.vue";

if (__DEV__) {
  // connectDevTools();
}

const app = createApp(App);
app.config.performance = true;
app.config.globalProperties.$isDev = import.meta.env.DEV;
app.config.globalProperties.$isProd = import.meta.env.PROD;

app.use(createPinia());
app.mount("#app", true);
